package com.woniuxy.ticket.ticketmovie.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.ticket.ticketmovie.entity.Movie;

import java.util.List;

public interface MovieService extends IService<Movie> {
    //根据类型id分页查询电影
    public List<Movie> findMovieByTypeId(Page<Movie> page, int id);
    //增加电影
    void add(Movie movie, int[] typeIds);
}
